const TextOption = [
  { value: 'NUM', label: '数值' },
  { value: 'TXT', label: '文本' }
]

const ExctOption = [
  { value: 'CNT', label: '包含' },
  { value: 'EXC', label: '排除' }
]

const QuestionOptionGroup = [
  { value: 'ALL', label: '匹配以下全部条件' },
  { value: 'ANY', label: '匹配以下任意条件' }
]

const ScoreOption = [
  { value: 'SUM', label: '总分' },
  { value: 'AVG', label: '平均分' }
]

const LeftComparatorOption = [
  { value: 'LT', label: '<' },
  { value: 'LE', label: '<=' }
]

const RightComparatorOption = [
  { value: 'EQ', label: '=' },
  { value: 'LT', label: '<' },
  { value: 'LE', label: '<=' },
  { value: 'NE', label: '!=' }
]

/**
 * 接口状态码
 */

const CODE = {
  SUCCESS: 1
}

export {
  TextOption,
  ExctOption,
  LeftComparatorOption,
  RightComparatorOption,
  QuestionOptionGroup,
  ScoreOption,
  CODE
}
